home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Updates / General / Symantec C++ 6.0.1 Updt ƒ / Library Updates Folder / Mac #includes / Apple #includes / DiskInit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-14  |  1.3 KB  |  56 lines  |  [TEXT/KAHL]

  1. /************************************************************
  2.  
  3. Created: Sunday, January 6, 1991 at 9:08 PM
  4.     DiskInit.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.         Copyright Apple Computer, Inc.     1985-1989
  9.         All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __DISKINIT__
  15. #define __DISKINIT__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21.  
  22. struct HFSDefaults {
  23.     char sigWord[2];    /* signature word*/
  24.     long abSize;        /* allocation block size in bytes*/
  25.     long clpSize;       /* clump size in bytes*/
  26.     long nxFreeFN;      /* next free file number*/
  27.     long btClpSize;     /* B-Tree clump size in bytes*/
  28.     short rsrv1;        /* reserved*/
  29.     short rsrv2;        /* reserved*/
  30.     short rsrv3;        /* reserved*/
  31. };
  32.  
  33. typedef struct HFSDefaults HFSDefaults;
  34.  
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. pascal void DILoad(void); 
  40. pascal void DIUnload(void); 
  41. pascal short DIBadMount(Point where,long evtMessage); 
  42. #if !defined(__SC__) || !defined(THINK_C)
  43. OSErr dibadmount(Point *where,long evtMessage); 
  44. #endif
  45. pascal OSErr DIFormat(short drvNum); 
  46. pascal OSErr DIVerify(short drvNum); 
  47. pascal OSErr DIZero(short drvNum,ConstStr255Param volName); 
  48. #if !defined(__SC__) || !defined(THINK_C)
  49. OSErr dizero(short drvnum,char *volName); 
  50. #endif
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54.  
  55. #endif
  56.